﻿namespace Traffic.Entity;

/// <summary>
/// 线路模板对应结算单位
/// </summary>
public partial class BusLineModelBalance
{
    public int Id { get; set; }

    /// <summary>
    /// 商户ID，对应Business.ID
    /// </summary>
    public int BusinessId { get; set; }

    /// <summary>
    /// 模板ID，对应BusLineModel.ID
    /// </summary>
    public int ModelId { get; set; }

    /// <summary>
    /// 结算单位ID，对应Balance.ID
    /// </summary>
    public int BalanceId { get; set; }

    /// <summary>
    /// 结算单位全称
    /// </summary>
    public string? UnitName { get; set; }

    /// <summary>
    /// 结算单位简称
    /// </summary>
    public string? ShortName { get; set; }

    /// <summary>
    /// 开户银行
    /// </summary>
    public string? BankName { get; set; }

    /// <summary>
    /// 银行帐号
    /// </summary>
    public string? BankNo { get; set; }

    /// <summary>
    /// 单笔结算额
    /// </summary>
    public decimal? Amount { get; set; }

    /// <summary>
    /// 结算周期天数
    /// </summary>
    public int Days { get; set; }

    /// <summary>
    /// 状态  默认1正常、2：停用。
    /// </summary>
    public bool Status { get; set; }
}
